﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for TinTucDTO
/// </summary>
public class TinTucDTO
{
    private int id;
    private string tieuDe;
    private string noiDung;
    private Guid idNguoiDung;
    private DateTime ngayDang;
    private string hinhMinhHoa;

    public int Id
    {
        get { return id; }
        set { id = value; }
    }

    public string TieuDe
    {
        get { return tieuDe; }
        set { tieuDe = value; }
    }

    public string NoiDung
    {
        get { return noiDung; }
        set { noiDung = value; }
    }

    public Guid IdNguoiDung
    {
        get { return idNguoiDung; }
        set { idNguoiDung = value; }
    }

    public DateTime NgayDang
    {
        get { return ngayDang; }
        set { ngayDang = value; }
    }

    public string HinhMinhHoa
    {
        get { return hinhMinhHoa; }
        set { hinhMinhHoa = value; }
    }

    public TinTucDTO()
	{
        tieuDe = "";
        noiDung = "";
        ngayDang = DateTime.Now;
        hinhMinhHoa = "";
	}
}
